package ch5.ext;

public class DogTest4 {

	public static void main(String[] args) {
		Dog d = new Dog("Jack", 100, 60, "哈士奇");
		d.printInfo();
		d.playWith();
		d.playWith();
		d.catchFlyDisc();
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>.");

		Pet p = new Dog("二黄", 70, 75, "中华田园犬");
		p.printInfo();
		p.playWith();
		// p.catchFlyDisc();

		// Dog d2=new Pet("3黄", 70, 75, "中华田园犬");
		Cat c = new Cat();

		c.printInfo();
	}

}
